package com.lxm.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author ：Administrator
 * @date :创建时间 2021/12/23 18:53
 */
@Data
public class ReturnMessage  implements Serializable {


    private Integer code;

    private String msg;

    private Object data;

    public ReturnMessage(Integer code,String msg,Object data)  {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
    public boolean IsSuccess(){
        return 2000==this.code;
    }
}
